﻿@model Flixr.Models.DetailVM
@{
    ViewBag.Title = "Detail";
}

<h1>@Model.Message</h1>
<br />
<p><img src="@ViewBag.ImageData" /></p>
<br />
<h3>@Model.Movie.Title</h3>
<h4>Rated @Model.Movie.Rating</h4>
<hr />
<p>@Model.Movie.Description</p>
<br />
<h4>Actors</h4>
<hr />
<ul>
    @foreach (var a in Model.MyActors)
    {
        <li>@a.Name</li>
    }
</ul>



